]> dgit.raspbian.org Git - gnome-shell.git/commit
scripting: Disable an eslint warning
authorFlorian Müllner <fmuellner@gnome.org>
Tue, 20 Aug 2019 00:36:36 +0000 (02:36 +0200)
committerFlorian Müllner <fmuellner@gnome.org>
Sun, 15 Sep 2019 14:02:45 +0000 (16:02 +0200)
commite585f7d97bb2fdb54656fd894297578e2a0c94d1
tree6243ab72302a47b5ac00dbaa3eaca805722f9772
parent1a32e3e74ad855a0b85650b08a4b0947edbf383b
scripting: Disable an eslint warning

Calling await in a loop means the asynchronous operations are
run sequentially instead of in-parallel. Usually that's not
what's wanted, so eslint has a rule to warn about this.

However here we use async/await to handle control back to the
mainloop between steps, so running operations sequentially is
actually intended.

https://gitlab.gnome.org/GNOME/gnome-shell/merge_requests/731
js/ui/scripting.js